<%-- 
    Document   : Jstl2
    Created on : 2014/8/18, 下午 02:08:18
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="y" value="5" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <c:if test="${y>5}">
            Hello
        </c:if>
        <c:if test="${y<5}">
            world
        </c:if>  
        <c:if test="${y==5}">
            Hi
        </c:if>    
    </body>
</html>
